package com.example.leetcode.math;

import com.example.leetcode.math.common.MathUtils;

class Solution914 {
    public boolean hasGroupsSizeX(int[] deck) {
        return MathUtils.hasGroupsSizeX(deck);
    }
}

public class leetcode914 {
    public static void main(String[] args) {
        Solution914 solution914 = new Solution914();
        int[] deck = {1, 2, 3, 4, 4, 3, 2, 1};
        System.out.println(solution914.hasGroupsSizeX(deck));
    }
}
